* {
box-sizing: border-box; -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-text-size-adjust:none;
-webkit-overflow-scrolling: touch;
}
html, body, h1, h2, h3, h4, p { margin:0; padding:0; font-weight: normal; }
ul, ol { margin:0; list-style: none; padding: 0; }
a { text-decoration:none; color: #111; border:none; outline: none; }
img { border:none; }
input, button { -webkit-appearance: none; background: none; padding: 0; outline-style: none; border: none; }
form, table { margin:0; padding:0; }
em, i { font-style: normal; }
body {
  min-width: 320px;
  height: 100%;
  font: normal 13px/1.5 "Helvetica Neue", Helvetica, STHeiTi, sans-serif;
  color: #111;
  background: #f2f2f2;
  overflow-x: hidden;
  background-color: #f0f0f0;
}

.clearfix:before, .clearfix:after {content: " ";display: table; clear: both; }
.hpimg { display: block; width: 100%; }

.my-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* start header ***********************************************************************************/
.header {
    height: 44px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #f54545;
    color: white;
    z-index: 99;
}

.header .title {
    font-size: 17px;
    line-height: 44px;
    font-weight: 700;
    white-space: nowrap;
    text-align: center;
}

.header .btn-back {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 60px;
    height: 44px;
    color: #fff;
}

.header .btn-back span {
    height: 44px;
    left: 26px;
    line-height: 44px;
    min-width: 88px;
    position: absolute;
    top: 0;
    font-size: 16px;
}

.header .btn-back::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    vertical-align: middle;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
        transform: rotate(45deg);
    box-sizing: border-box;
    position: absolute;
    top: 16px;
    left: 13px;
}

.head-btn-right {
    position: absolute;
    color: #fff;
    top: 0;
    right: 0; 
    height: 44px;
    line-height: 44px;
    text-align: center;
    padding-right: 6px;
    font-size: 16px;
    min-width: 50px;
}
/* end header ***********************************************************************************/

.main { 
    position: relative; 
    padding-top: 44px;
    padding-bottom: 48px;
    left: 0;
}

.container {
    position: relative;
    padding-top: 44px;
}

/* start footer ***********************************************************************************/
.footer {
    z-index: 99;
    background-color: #fafafa;
    border-width: 1px 0 0;
    border-style: solid;
    border-color: transparent;
    -webkit-border-image: url(../images/border_half_aaa.png) 2 stretch;
       -o-border-image: url(../images/border_half_aaa.png) 2 stretch;
          border-image: url(../images/border_half_aaa.png) 2 stretch;
    height: 48px;
    left: 0;
    bottom: 0;
    width: 100%;
    position: fixed;
}

.footer li a:before {
    background-image: url("../images/tab-bar.png");
    background-repeat: no-repeat;
    background-size: 130px auto;
}

.footer ul {
    display: table;
    width: 100%;
    background-color: white;
}

.footer li {
    display: table-cell;
    width: 20%;
}

.footer li a {
    display: block;
    width: 100%;
    height: 48px;
    line-height: 1em;
    text-align: center;
    font-size: 10px;
    color: #888;
    position: relative;
}

.footer li.on a {
    color: #f54545;
}

.footer li a:before {
    display: block;
    width: 26px;
    height: 26px;
    content: "";
    margin: 5px auto 3px;
}

.footer li.btn-index a:before {
    background-position: 0 0;
}

.footer li.btn-service a:before {
    background-position: -26px 0;
}

.footer li.btn-message a:before {
    background-position: -52px 0;
}

.footer li.btn-order a:before {
    background-position: -78px 0;
}

.footer li.btn-mine a:before {
    background-position: -104px 0px;
}

.footer li.btn-index.on a:before {
    background-position: 0 -26px;
}

.footer li.btn-service.on a:before {
    background-position: -26px -26px;
}

.footer li.btn-message.on a:before {
    background-position: -52px -26px;
}

.footer li.btn-order.on a:before {
    background-position: -78px -26px;
}

.footer li.btn-mine.on a:before {
    background-position: -104px -26px;
}

.scroll-wrapper {
    top: 44px;
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden; 
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

.scroll-wrapper.active {
    opacity: 1;
    z-index: 3;
    top: 44px;
}

.main .scroll-wrapper.active { 
    top: 88px;
}

.scroll-wrapper.active-top {
    opacity: 1;
    z-index: 3;
    top: 0;
}
.scroll-wrapper.active-pad {
    opacity: 1;
    z-index: 3;
    top: 88px;
}

.scroller {
    position: absolute;
    width: 100%;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.btn-bottom-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #F0F0F0;
    z-index: 4;
}

.btn-bottom-wrapper .btn-bottom-submit {
    width: 290px;
    display: block;
    margin: 10px auto;
    color: #fff;
    background-color: #52619e;
    border-radius: 12px;
    text-align: center;
    font-size: 15px;
    padding: 10px; 
}

.btn-bottom-wrapper .half-wrapper {
    width: 286px;
    margin: 0 auto
}

.btn-bottom-wrapper .btn-bottom-half {
    width: 140px;
    display: inline-block;
    margin: 10px auto;
    color: #fff;
    background-color: #52619e;
    border-radius: 8px;
    text-align: center;
    font-size: 15px;
    padding: 10px; 
}

/* end footer ***********************************************************************************/
.c-purple {
    color: #52619e !important;
}

.c-red {
    color: #f44444 !important;
}

.c-black {
    color: #111 !important;
}

.c-blue {
    color: blue !important;
}

.c-gray {
    color: #888 !important;
}

.background_c--white { background-color: #fff; }
.border--b { border-bottom: 1px solid #ccc; }